Skip to content

[main] Source code updates from dotnet/dotnet #50073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Aug 12, 2025

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Aug 6, 2025

Note

This is a codeflow update. It may contain both source code changes from the VMR as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/dotnet

Updated Dependencies

  • From 10.0.0-rc.1.25377.103 to 10.0.0-rc.1.25410.101
    • dotnet-dev-certs
    • dotnet-user-jwts
    • dotnet-user-secrets
    • Microsoft.AspNetCore.Analyzers
    • Microsoft.AspNetCore.App.Ref
    • Microsoft.AspNetCore.App.Ref.Internal
    • Microsoft.AspNetCore.Authentication.Facebook
    • Microsoft.AspNetCore.Authentication.Google
    • Microsoft.AspNetCore.Authentication.MicrosoftAccount
    • Microsoft.AspNetCore.Authorization
    • Microsoft.AspNetCore.Components
    • Microsoft.AspNetCore.Components.Analyzers
    • Microsoft.AspNetCore.Components.Forms
    • Microsoft.AspNetCore.Components.SdkAnalyzers
    • Microsoft.AspNetCore.Components.Web
    • Microsoft.AspNetCore.Components.WebAssembly
    • Microsoft.AspNetCore.Components.WebAssembly.Server
    • Microsoft.AspNetCore.Components.WebView
    • Microsoft.AspNetCore.DeveloperCertificates.XPlat
    • Microsoft.AspNetCore.Metadata
    • Microsoft.AspNetCore.Mvc.Analyzers
    • Microsoft.AspNetCore.Mvc.Api.Analyzers
    • Microsoft.AspNetCore.TestHost
    • Microsoft.DotNet.Web.ItemTemplates.10.0
    • Microsoft.DotNet.Web.ProjectTemplates.10.0
    • Microsoft.Extensions.FileProviders.Embedded
    • Microsoft.Extensions.ObjectPool
    • Microsoft.JSInterop
  • From 10.0.0-preview.25377.103 to 10.0.0-preview.25410.101
    • Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal
    • Microsoft.CodeAnalysis.NetAnalyzers
    • Microsoft.CodeAnalysis.Razor.Tooling.Internal
    • Microsoft.NET.Sdk.Razor.SourceGenerators.Transport
  • From 10.0.0-preview.7.25377.103 to 10.0.0-rc.1.25410.101
    • Microsoft.Bcl.AsyncInterfaces
    • Microsoft.Extensions.Configuration.Ini
    • Microsoft.Extensions.DependencyModel
    • Microsoft.Extensions.FileProviders.Abstractions
    • Microsoft.Extensions.FileSystemGlobbing
    • Microsoft.Extensions.Logging
    • Microsoft.Extensions.Logging.Abstractions
    • Microsoft.Extensions.Logging.Console
    • Microsoft.NET.HostModel
    • Microsoft.NET.ILLink.Tasks
    • Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64
    • Microsoft.NET.Sdk.WindowsDesktop
    • Microsoft.NETCore.App.Ref
    • Microsoft.NETCore.Platforms
    • Microsoft.Win32.SystemEvents
    • Microsoft.WindowsDesktop.App.Internal
    • Microsoft.WindowsDesktop.App.Ref
    • System.CodeDom
    • System.Composition.AttributedModel
    • System.Composition.Convention
    • System.Composition.Hosting
    • System.Composition.Runtime
    • System.Composition.TypedParts
    • System.Configuration.ConfigurationManager
    • System.Diagnostics.DiagnosticSource
    • System.Formats.Asn1
    • System.IO.Hashing
    • System.Reflection.MetadataLoadContext
    • System.Resources.Extensions
    • System.Security.Cryptography.Pkcs
    • System.Security.Cryptography.ProtectedData
    • System.Security.Cryptography.Xml
    • System.Security.Permissions
    • System.ServiceProcess.ServiceController
    • System.Text.Encoding.CodePages
    • System.Text.Json
    • System.Windows.Extensions
  • From 17.15.0-preview-25377-103 to 17.15.0-preview-25410-101
    • Microsoft.Build
    • Microsoft.Build.Localization
  • From 7.0.0-preview.1.100 to 7.0.0-preview.1.601
    • Microsoft.Build.NuGetSdkResolver
    • NuGet.Build.Tasks
    • NuGet.Build.Tasks.Console
    • NuGet.Build.Tasks.Pack
    • NuGet.CommandLine.XPlat
    • NuGet.Commands
    • NuGet.Common
    • NuGet.Configuration
    • NuGet.Credentials
    • NuGet.DependencyResolver.Core
    • NuGet.Frameworks
    • NuGet.LibraryModel
    • NuGet.Packaging
    • NuGet.ProjectModel
    • NuGet.Protocol
    • NuGet.Versioning
  • From 10.0.0-beta.25377.103 to 10.0.0-beta.25410.101
    • Microsoft.Build.Tasks.Git
    • Microsoft.DotNet.Arcade.Sdk
    • Microsoft.DotNet.Build.Tasks.Installers
    • Microsoft.DotNet.Build.Tasks.Templating
    • Microsoft.DotNet.Build.Tasks.Workloads
    • Microsoft.DotNet.Helix.Sdk
    • Microsoft.DotNet.SignTool
    • Microsoft.DotNet.XliffTasks
    • Microsoft.DotNet.XUnitExtensions
    • Microsoft.SourceLink.AzureRepos.Git
    • Microsoft.SourceLink.Bitbucket.Git
    • Microsoft.SourceLink.Common
    • Microsoft.SourceLink.GitHub
    • Microsoft.SourceLink.GitLab
  • From 5.0.0-2.25377.103 to 5.0.0-2.25410.101
    • Microsoft.CodeAnalysis
    • Microsoft.CodeAnalysis.BuildClient
    • Microsoft.CodeAnalysis.CSharp
    • Microsoft.CodeAnalysis.CSharp.CodeStyle
    • Microsoft.CodeAnalysis.CSharp.Features
    • Microsoft.CodeAnalysis.CSharp.Workspaces
    • Microsoft.CodeAnalysis.PublicApiAnalyzers
    • Microsoft.CodeAnalysis.Workspaces.Common
    • Microsoft.CodeAnalysis.Workspaces.MSBuild
    • Microsoft.Net.Compilers.Toolset
    • Microsoft.Net.Compilers.Toolset.Framework
  • From 2.0.0-preview.1.25377.103 to 2.0.0-preview.1.25410.101
    • Microsoft.Deployment.DotNet.Releases
  • From 2.2.0-beta.25377.103 to 2.2.0-beta.25410.101
    • Microsoft.DiaSymReader
  • From 14.0.100-preview7.25377.103 to 14.0.100-preview7.25410.101
    • Microsoft.FSharp.Compiler
  • From 18.0.0-preview-25377-103 to 18.0.0-preview-25410-101
    • Microsoft.NET.Test.Sdk
    • Microsoft.TestPlatform.Build
    • Microsoft.TestPlatform.CLI
  • From 10.0.100-preview.7.25377.103 to 10.0.100-rc.1.25410.101
    • Microsoft.TemplateEngine.Abstractions
    • Microsoft.TemplateEngine.Authoring.TemplateVerifier
    • Microsoft.TemplateEngine.Edge
    • Microsoft.TemplateEngine.Mocks
    • Microsoft.TemplateEngine.Orchestrator.RunnableProjects
    • Microsoft.TemplateEngine.TestHelper
    • Microsoft.TemplateEngine.Utils
    • Microsoft.TemplateSearch.Common
    • Microsoft.TemplateSearch.TemplateDiscovery
  • From 3.2.0-preview.25377.103 to 3.2.0-preview.25410.101
    • Microsoft.Web.Xdt
  • From 2.0.0-rc.1.25377.103 to 2.0.0-rc.1.25410.101
    • System.CommandLine
  • From 1.9.0-preview.25404.3 to 1.9.0-preview.25407.1
    • Microsoft.Testing.Platform
  • From 3.11.0-preview.25404.3 to 3.11.0-preview.25407.1
    • MSTest

Associated changes in source repos

Updated Dependencies:
dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Ref.Internal, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Components.Web, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.DeveloperCertificates.XPlat, Microsoft.AspNetCore.Metadata, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.TestHost, Microsoft.DotNet.Web.ItemTemplates.10.0, Microsoft.DotNet.Web.ProjectTemplates.10.0, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.ObjectPool, Microsoft.JSInterop (Version 10.0.0-rc.1.25377.103 -> 10.0.0-rc.1.25405.103)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.NetAnalyzers, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.25377.103 -> 10.0.0-preview.25405.103)
Microsoft.Bcl.AsyncInterfaces, Microsoft.Extensions.Configuration.Ini, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.NETCore.App.Ref, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, Microsoft.WindowsDesktop.App.Internal, Microsoft.WindowsDesktop.App.Ref, System.CodeDom, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Asn1, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Security.Cryptography.Pkcs, System.Security.Cryptography.ProtectedData, System.Security.Cryptography.Xml, System.Security.Permissions, System.ServiceProcess.ServiceController, System.Text.Encoding.CodePages, System.Text.Json, System.Windows.Extensions (Version 10.0.0-preview.7.25377.103 -> 10.0.0-rc.1.25405.103)
Microsoft.Build, Microsoft.Build.Localization (Version 17.15.0-preview-25377-103 -> 17.15.0-preview-25405-103)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.0.0-preview.1.100 -> 7.0.0-preview.1.103)
Microsoft.Build.Tasks.Git, Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.0-beta.25377.103 -> 10.0.0-beta.25405.103)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.0.0-2.25377.103 -> 5.0.0-2.25405.103)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.25377.103 -> 2.0.0-preview.1.25405.103)
Microsoft.DiaSymReader (Version 2.2.0-beta.25377.103 -> 2.2.0-beta.25405.103)
Microsoft.FSharp.Compiler (Version 14.0.100-preview7.25377.103 -> 14.0.100-preview7.25405.103)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.0.0-preview-25377-103 -> 18.0.0-preview-25405-103)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.100-preview.7.25377.103 -> 10.0.100-preview.7.25405.103)
Microsoft.Web.Xdt (Version 3.2.0-preview.25377.103 -> 3.2.0-preview.25405.103)
System.CommandLine (Version 2.0.0-rc.1.25377.103 -> 2.0.0-rc.1.25405.103)
Microsoft.Testing.Platform (Version 1.9.0-preview.25404.3 -> 1.9.0-preview.25404.3)
MSTest (Version 3.11.0-preview.25404.3 -> 3.11.0-preview.25404.3)
@jjonescz jjonescz mentioned this pull request Aug 6, 2025
1 task
@tmat
Copy link
Member

tmat commented Aug 6, 2025

dotnet-watch failures caused by wrong versions: #50040

@tmat
Copy link
Member

tmat commented Aug 6, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tmat tmat removed the Area-Watch label Aug 7, 2025
dotnet-maestro bot and others added 3 commits August 7, 2025 02:06
Updated Dependencies:
dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Ref.Internal, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Components.Web, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.DeveloperCertificates.XPlat, Microsoft.AspNetCore.Metadata, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.TestHost, Microsoft.Bcl.AsyncInterfaces, Microsoft.DotNet.Web.ItemTemplates.10.0, Microsoft.DotNet.Web.ProjectTemplates.10.0, Microsoft.Extensions.Configuration.Ini, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.ObjectPool, Microsoft.JSInterop, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.NETCore.App.Ref, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, Microsoft.WindowsDesktop.App.Internal, Microsoft.WindowsDesktop.App.Ref, System.CodeDom, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Asn1, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Security.Cryptography.Pkcs, System.Security.Cryptography.ProtectedData, System.Security.Cryptography.Xml, System.Security.Permissions, System.ServiceProcess.ServiceController, System.Text.Encoding.CodePages, System.Text.Json, System.Windows.Extensions (Version 10.0.0-rc.1.25405.103 -> 10.0.0-rc.1.25406.102)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.NetAnalyzers, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.25405.103 -> 10.0.0-preview.25406.102)
Microsoft.Build, Microsoft.Build.Localization (Version 17.15.0-preview-25405-103 -> 17.15.0-preview-25406-102)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.0.0-preview.1.103 -> 7.0.0-preview.1.102)
Microsoft.Build.Tasks.Git, Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.0-beta.25405.103 -> 10.0.0-beta.25406.102)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.0.0-2.25405.103 -> 5.0.0-2.25406.102)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.25405.103 -> 2.0.0-preview.1.25406.102)
Microsoft.DiaSymReader (Version 2.2.0-beta.25405.103 -> 2.2.0-beta.25406.102)
Microsoft.FSharp.Compiler (Version 14.0.100-preview7.25405.103 -> 14.0.100-preview7.25406.102)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.0.0-preview-25405-103 -> 18.0.0-preview-25406-102)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.100-preview.7.25405.103 -> 10.0.100-rc.1.25406.102)
Microsoft.Web.Xdt (Version 3.2.0-preview.25405.103 -> 3.2.0-preview.25406.102)
System.CommandLine (Version 2.0.0-rc.1.25405.103 -> 2.0.0-rc.1.25406.102)
Microsoft.Testing.Platform (Version 1.9.0-preview.25405.2 -> 1.9.0-preview.25401.13)
MSTest (Version 3.11.0-preview.25405.2 -> 3.11.0-preview.25401.13)
@SimonZhao888
Copy link
Member

@marcpopMSFT, @tmat, could you please take a look at this, so many test cases failed at dotnet-sdk-public-ci (Build FullFramework: windows (x64)).

@tmat
Copy link
Member

tmat commented Aug 7, 2025

I don't see any dotnet-watch failures.

@akoeplinger
Copy link
Member

The failures on the FullFramework job should get fixed with dotnet/dotnet#1784

The other failures are unrelated to that.

@akoeplinger
Copy link
Member

@sbomer Microsoft.DotNet.Cli.Run.Tests.RunFileTests.Microsoft.DotNet.Cli.Run.Tests.RunFileTests.CscVsMSBuild failure seems related to dotnet/runtime#118180. not sure why it only has VerifyReferenceTrimCompatibility/VerifyReferenceAotCompatibility in one case:

Executing 'dotnet run Program.cs -bl':
》Warning: Binary log option was specified but MSBuild will be skipped because running just csc is enough. Specify '--no-cache' to force full build.
》Hello from Program
Command 'dotnet run Program.cs -bl' exited with exit code 0.
Executing 'dotnet run Program.cs -bl --no-cache':
》Hello from Program
Command 'dotnet run Program.cs -bl --no-cache' exited with exit code 0.
File differs between MSBuild and CSC-only runs: /Users/helix-runner/Library/Application Support/dotnet/runfile/Program-8dc2a092966c62e6949ce61ebdfda7684cc5dbaa5e39c769027304db18c69210.bak/obj/debug/Program.GeneratedMSBuildEditorConfig.editorconfig
MSBuild file content:
is_global = true
build_property.EnableAotAnalyzer = true
build_property.EnableSingleFileAnalyzer = true
build_property.EnableTrimAnalyzer = true
build_property.IncludeAllContentForSelfExtract = 
build_property.VerifyReferenceTrimCompatibility = 
build_property.VerifyReferenceAotCompatibility = 
build_property.TargetFramework = net10.0
build_property.TargetFrameworkIdentifier = .NETCoreApp
build_property.TargetFrameworkVersion = v10.0
build_property.TargetPlatformMinVersion = 
build_property.UsingMicrosoftNETSdkWeb = 
build_property.ProjectTypeGuids = 
build_property.InvariantGlobalization = 
build_property.PlatformNeutralAssembly = 
build_property.EnforceExtendedAnalyzerRules = 
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Program
build_property.ProjectDir = /private/tmp/helix/working/C0860A35/t/dotnetSdkTests/CscVsMSBuild_1/
build_property.EnableComHosting = 
build_property.EnableGeneratedComInterfaceComImportInterop = false
build_property.EffectiveAnalysisLevelStyle = 10.0
build_property.EnableCodeStyleSeverity = 

CSC-only file content:
is_global = true
build_property.EnableAotAnalyzer = true
build_property.EnableSingleFileAnalyzer = true
build_property.EnableTrimAnalyzer = true
build_property.IncludeAllContentForSelfExtract = 
build_property.TargetFramework = net10.0
build_property.TargetFrameworkIdentifier = .NETCoreApp
build_property.TargetFrameworkVersion = v10.0
build_property.TargetPlatformMinVersion = 
build_property.UsingMicrosoftNETSdkWeb = 
build_property.ProjectTypeGuids = 
build_property.InvariantGlobalization = 
build_property.PlatformNeutralAssembly = 
build_property.EnforceExtendedAnalyzerRules = 
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Program
build_property.ProjectDir = /private/tmp/helix/working/C0860A35/t/dotnetSdkTests/CscVsMSBuild_1/
build_property.EnableComHosting = 
build_property.EnableGeneratedComInterfaceComImportInterop = false
build_property.EffectiveAnalysisLevelStyle = 10.0
build_property.EnableCodeStyleSeverity =

@akoeplinger
Copy link
Member

akoeplinger commented Aug 7, 2025

@MichalStrehovsky and Microsoft.NET.Publish.Tests.GivenThatWeWantToPublishAnAotApp.Microsoft.NET.Publish.Tests.GivenThatWeWantToPublishAnAotApp.IsAotCompatible_implies_enable_analyzers(targetFramework: "net10.0") looks like dotnet/runtime#118008

System.ArgumentException : An item with the same key has already been added. Key: [AssemblyMetadataAttribute, IsAotCompatible:True]

Stack trace
   at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
   at System.Collections.Generic.SortedSet`1.Add(T item)
   at System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value)
   at Microsoft.NET.TestFramework.AssemblyInfo.Get(String assemblyPath) in /_/test/Microsoft.NET.TestFramework/AssemblyInfo.cs:line 111
   at Microsoft.NET.Publish.Tests.GivenThatWeWantToPublishAnAotApp.IsAotCompatible_implies_enable_analyzers(String targetFramework) in /_/test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAnAotApp.cs:line 596
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

@elinor-fung
Copy link
Member

System.ArgumentException : An item with the same key has already been added. Key: [AssemblyMetadataAttribute, IsAotCompatible:True]

Looks like the sdk test infrastructure for AssemblyInfo.Get is incorrectly assuming there can only be one of each type of assembly attribute - which is not the case for AssemblyMedatadaAttribute

@akoeplinger
Copy link
Member

@baronfel could this be related to the changes you did in msbuild?

Microsoft.NET.Build.Tests.ArtifactsOutputPathTests.Microsoft.NET.Build.Tests.ArtifactsOutputPathTests.PublishingRegistersWrittenFilesForProperCleanup

Expected boolean to be False because Expected File /datadisks/disk1/work/BEF40A58/t/dotnetSdkTests.W2GtvMke/PublishingReg---D6133819/artifacts/bin/PublishingRegistersWrittenFilesForProperCleanup/release/libhostfxr.so to not exist, but it does., but found True.

Stack trace
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.AddPreFormattedFailure(String formattedFailureMessage)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(Func`1 getFailureReason)
   at FluentAssertions.Execution.AssertionChain.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs)
   at Microsoft.NET.TestFramework.Assertions.FileInfoAssertions.NotExist(String because, Object[] reasonArgs) in /_/test/Microsoft.NET.TestFramework/Assertions/FileInfoAssertions.cs:line 29
   at Microsoft.NET.TestFramework.Assertions.DirectoryInfoAssertions.NotHaveFile(String expectedFile) in /_/test/Microsoft.NET.TestFramework/Assertions/DirectoryInfoAssertions.cs:line 39
   at Microsoft.NET.TestFramework.Assertions.DirectoryInfoAssertions.NotHaveFiles(IEnumerable`1 expectedFiles) in /_/test/Microsoft.NET.TestFramework/Assertions/DirectoryInfoAssertions.cs:line 70
   at Microsoft.NET.Build.Tests.ArtifactsOutputPathTests.PublishingRegistersWrittenFilesForProperCleanup() in /_/test/Microsoft.NET.Build.Tests/ArtifactsOutputPathTests.cs:line 591
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

@baronfel
Copy link
Member

baronfel commented Aug 8, 2025

Ah, I think we need to skip this test again until MSBuild reapplies that change - it was reverted in the process of finding a VS perf regression.

@akoeplinger
Copy link
Member

akoeplinger commented Aug 8, 2025

Ok, just to confirm: this contains dotnet/msbuild#12236 and I don't see a revert of that one ah nevermind, the revert of that was dotnet/msbuild@a5695e1

@dsplaisted
Copy link
Member

@nkolev92 @dotnet/nuget-team A bunch of full framework tests are failing. It looks like NuGet.Build.Tasks.Pack.dll isn't strong named here. Did the pack SDK refactoring go in recently and could that be related?

C:\h\w\B6AC0A34\p\d\sdk\10.0.100-ci\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(110,5): error MSB4062: The "NuGet.Build.Tasks.Pack.GetPackOutputItemsTask" task could not be loaded from the assembly C:\h\w\B6AC0A34\p\d\sdk\10.0.100-ci\Sdks\NuGet.Build.Tasks.Pack\build..\Desktop\NuGet.Build.Tasks.Pack.dll. Could not load file or assembly 'NuGet.Build.Tasks.Pack, Version=7.0.0.105, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\h\w\B6AC0A34\t\dotnetSdkTests\jl5gpd55.zjs\Nuget_referen---681AFAA0\D_net451\D_net451.csproj]
Done Building Project "C:\h\w\B6AC0A34\t\dotnetSdkTests\jl5gpd55.zjs\Nuget_referen---681AFAA0\D_net451\D_net451.csproj" (Pack target(s)) -- FAILED.

@dsplaisted
Copy link
Member

Reading through the history it looks like @akoeplinger already linked to dotnet/dotnet#1784 which is supposed to fix the NuGet signing failures. Have those changes flowed into this PR? Did they cover NuGet.Build.Tasks.Pack.dll?

Updated Dependencies:
dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Ref.Internal, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Components.Web, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.DeveloperCertificates.XPlat, Microsoft.AspNetCore.Metadata, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.TestHost, Microsoft.Bcl.AsyncInterfaces, Microsoft.DotNet.Web.ItemTemplates.10.0, Microsoft.DotNet.Web.ProjectTemplates.10.0, Microsoft.Extensions.Configuration.Ini, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.ObjectPool, Microsoft.JSInterop, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.NETCore.App.Ref, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, Microsoft.WindowsDesktop.App.Internal, Microsoft.WindowsDesktop.App.Ref, System.CodeDom, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Asn1, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Security.Cryptography.Pkcs, System.Security.Cryptography.ProtectedData, System.Security.Cryptography.Xml, System.Security.Permissions, System.ServiceProcess.ServiceController, System.Text.Encoding.CodePages, System.Text.Json, System.Windows.Extensions (Version 10.0.0-rc.1.25407.105 -> 10.0.0-rc.1.25407.104)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.NetAnalyzers, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.25407.105 -> 10.0.0-preview.25407.104)
Microsoft.Build, Microsoft.Build.Localization (Version 17.15.0-preview-25407-105 -> 17.15.0-preview-25407-104)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.0.0-preview.1.105 -> 7.0.0-preview.1.104)
Microsoft.Build.Tasks.Git, Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.0-beta.25407.105 -> 10.0.0-beta.25407.104)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.0.0-2.25407.105 -> 5.0.0-2.25407.104)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.25407.105 -> 2.0.0-preview.1.25407.104)
Microsoft.DiaSymReader (Version 2.2.0-beta.25407.105 -> 2.2.0-beta.25407.104)
Microsoft.FSharp.Compiler (Version 14.0.100-preview7.25407.105 -> 14.0.100-preview7.25407.104)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.0.0-preview-25407-105 -> 18.0.0-preview-25407-104)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.100-rc.1.25407.105 -> 10.0.100-rc.1.25407.104)
Microsoft.Web.Xdt (Version 3.2.0-preview.25407.105 -> 3.2.0-preview.25407.104)
System.CommandLine (Version 2.0.0-rc.1.25407.105 -> 2.0.0-rc.1.25407.104)
Microsoft.Testing.Platform (Version 1.9.0-preview.25407.1 -> 1.9.0-preview.25407.1)
MSTest (Version 3.11.0-preview.25407.1 -> 3.11.0-preview.25407.1)
Updated Dependencies:
dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Ref.Internal, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Components.Web, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.DeveloperCertificates.XPlat, Microsoft.AspNetCore.Metadata, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.TestHost, Microsoft.Bcl.AsyncInterfaces, Microsoft.DotNet.Web.ItemTemplates.10.0, Microsoft.DotNet.Web.ProjectTemplates.10.0, Microsoft.Extensions.Configuration.Ini, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.ObjectPool, Microsoft.JSInterop, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.NETCore.App.Ref, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, Microsoft.WindowsDesktop.App.Internal, Microsoft.WindowsDesktop.App.Ref, System.CodeDom, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Asn1, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Security.Cryptography.Pkcs, System.Security.Cryptography.ProtectedData, System.Security.Cryptography.Xml, System.Security.Permissions, System.ServiceProcess.ServiceController, System.Text.Encoding.CodePages, System.Text.Json, System.Windows.Extensions (Version 10.0.0-rc.1.25407.104 -> 10.0.0-rc.1.25409.103)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.NetAnalyzers, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.25407.104 -> 10.0.0-preview.25409.103)
Microsoft.Build, Microsoft.Build.Localization (Version 17.15.0-preview-25407-104 -> 17.15.0-preview-25409-103)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.0.0-preview.1.104 -> 7.0.0-preview.1.603)
Microsoft.Build.Tasks.Git, Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.0-beta.25407.104 -> 10.0.0-beta.25409.103)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.0.0-2.25407.104 -> 5.0.0-2.25409.103)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.25407.104 -> 2.0.0-preview.1.25409.103)
Microsoft.DiaSymReader (Version 2.2.0-beta.25407.104 -> 2.2.0-beta.25409.103)
Microsoft.FSharp.Compiler (Version 14.0.100-preview7.25407.104 -> 14.0.100-preview7.25409.103)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.0.0-preview-25407-104 -> 18.0.0-preview-25409-103)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.100-rc.1.25407.104 -> 10.0.100-rc.1.25409.103)
Microsoft.Web.Xdt (Version 3.2.0-preview.25407.104 -> 3.2.0-preview.25409.103)
System.CommandLine (Version 2.0.0-rc.1.25407.104 -> 2.0.0-rc.1.25409.103)
@SimonZhao888
Copy link
Member

@akoeplinger, could you please take a look at commit:954fdcd, some of your fixes were reverted by this commit.

@ViktorHofer
Copy link
Member

The nuget failures are now resolved with the latest VMR update 👍

@ViktorHofer
Copy link
Member

ViktorHofer commented Aug 11, 2025

Expected value to be 0 because Expected command to pass but it did not.
Working Directory: /datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966
File Name: /datadisks/disk1/work/AE5E094F/p/d/dotnet
Arguments: msbuild /t:WriteValuesToFile /datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj /p:ValueName=PublishItemsOutputGroupOutputs /restore /bl:{}.binlog
Exit Code: 1
StdOut:
MSBuild version 17.15.0-preview-25409-103+e9f665e52 for .NET
Determining projects to restore...
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
All projects are up-to-date for restore.
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(263,5): warning NETSDK1201: For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument. [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(345,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
TestPublishItemsOutputGroupOutputs -> /datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/bin/Debug/net6.0/win-x86/TestPublishItemsOutputGroupOutputs.dll
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018: The "GenerateBundle" task failed unexpectedly. [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018: System.IO.IOException: The process cannot access the file '/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/obj/Debug/net6.0/win-x86/singlefilehost.exe' because it is being used by another process. [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Init(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Int64& fileLength, UnixFileMode& filePermissions) [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func4 createOpenException) [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj] /datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at System.IO.File.OpenRead(String path) [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at Microsoft.NET.HostModel.Bundle.Bundler.GenerateBundle(IReadOnlyList`1 fileSpecs) [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at Microsoft.NET.Build.Tasks.GenerateBundle.ExecuteCore() in //src/Tasks/Microsoft.NET.Build.Tasks/GenerateBundle.cs:line 81 [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() in //src/Tasks/Common/TaskBase.cs:line 36 [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
/datadisks/disk1/work/AE5E094F/p/d/sdk/10.0.100-ci/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(1132,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/TestPublishItemsOutputGroupOutputs.csproj]
StdErr:

error MSB4018: System.IO.IOException: The process cannot access the file '/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/obj/Debug/net6.0/win-x86/singlefilehost.exe' because it is being used by another process.

This is #49926 which got re-enabled recently. cc @baronfel @SimonZhao888

@ViktorHofer
Copy link
Member

@dotnet/dotnet-cli PTAL at this last failure. Thanks

@SimonZhao888
Copy link
Member

error MSB4018: System.IO.IOException: The process cannot access the file '/datadisks/disk1/work/AE5E094F/t/dotnetSdkTests.6wED5OvW/RunPublishIte---00D00966/TestPublishItemsOutputGroupOutputs/obj/Debug/net6.0/win-x86/singlefilehost.exe' because it is being used by another process.

This is #49926 which got re-enabled recently. cc @baronfel @SimonZhao888

Ok, I will skip this test case and use #49926 to track it.

Simon Zhao (BEYONDSOFT CONSULTING INC) and others added 2 commits August 12, 2025 09:29
Updated Dependencies:
dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Ref.Internal, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Components.Web, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.DeveloperCertificates.XPlat, Microsoft.AspNetCore.Metadata, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.TestHost, Microsoft.Bcl.AsyncInterfaces, Microsoft.DotNet.Web.ItemTemplates.10.0, Microsoft.DotNet.Web.ProjectTemplates.10.0, Microsoft.Extensions.Configuration.Ini, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.ObjectPool, Microsoft.JSInterop, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.NETCore.App.Ref, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, Microsoft.WindowsDesktop.App.Internal, Microsoft.WindowsDesktop.App.Ref, System.CodeDom, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Asn1, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Security.Cryptography.Pkcs, System.Security.Cryptography.ProtectedData, System.Security.Cryptography.Xml, System.Security.Permissions, System.ServiceProcess.ServiceController, System.Text.Encoding.CodePages, System.Text.Json, System.Windows.Extensions (Version 10.0.0-rc.1.25409.103 -> 10.0.0-rc.1.25410.101)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.NetAnalyzers, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.25409.103 -> 10.0.0-preview.25410.101)
Microsoft.Build, Microsoft.Build.Localization (Version 17.15.0-preview-25409-103 -> 17.15.0-preview-25410-101)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.0.0-preview.1.603 -> 7.0.0-preview.1.601)
Microsoft.Build.Tasks.Git, Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.0-beta.25409.103 -> 10.0.0-beta.25410.101)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.0.0-2.25409.103 -> 5.0.0-2.25410.101)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.25409.103 -> 2.0.0-preview.1.25410.101)
Microsoft.DiaSymReader (Version 2.2.0-beta.25409.103 -> 2.2.0-beta.25410.101)
Microsoft.FSharp.Compiler (Version 14.0.100-preview7.25409.103 -> 14.0.100-preview7.25410.101)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.0.0-preview-25409-103 -> 18.0.0-preview-25410-101)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.100-rc.1.25409.103 -> 10.0.100-rc.1.25410.101)
Microsoft.Web.Xdt (Version 3.2.0-preview.25409.103 -> 3.2.0-preview.25410.101)
System.CommandLine (Version 2.0.0-rc.1.25409.103 -> 2.0.0-rc.1.25410.101)
@SimonZhao888 SimonZhao888 merged commit c554c6a into main Aug 12, 2025
27 checks passed
@SimonZhao888 SimonZhao888 deleted the darc-main-3179108c-c6b8-45ea-ab29-d26b162530ec branch August 12, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants